import {
    observable,
    action
} from 'mobx';

class FooterStore {
    @observable isplay = true;
    @observable volume = 0.5;
    @observable activeRoundTypesIndex = 0;
    

    @action
    handlerPlay = (isplay) => {
        this.isplay = isplay;
    }
    @action
    volumeControl = (volume) => {
        this.volume = volume;
    }
    @action
    loopControl = (activeRoundTypesIndex) => {
        this.activeRoundTypesIndex = activeRoundTypesIndex;
    }
}

export default new FooterStore();